package com.ljm.shirojwt.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Result {
    private String code;
    private String msg;
    private Object data;

    public Result(String code, String msg) {
        this.code=code;
        this.msg=msg;
    }
}